package 数组;
public class k {
    public static void main(String[] args) {
        String[] bookTitles = {"java编程基础","数据结构与算法","python入门","数据库原理","计算机网络"};
        System.out.println("图书馆共有"+ bookTitles.length+"本图书：");
        for (int i = 0; i< bookTitles.length;i++){
            System.out.println("第"+(i+1)+"本");
        }
    }
}
